//
//  BaseModel.h
//  BaseProject
//
//  Created by 孟瑞瑞 on 15/10/21.
//  Copyright © 2018年 CSDN. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CNFeedReportDataModel;
@interface BaseModel : NSObject
- (void)encodeWithCoder:(NSCoder *)aCoder;
- (id)initWithCoder:(NSCoder *)aDecoder;
- (id)copyWithZone:(NSZone *)zone;
- (NSUInteger)hash;
- (BOOL)isEqual:(id)object;
- (NSString *)description;

@property (nonatomic, strong)CNFeedReportDataModel *report_data;

// 上报
@property (nonatomic, copy) NSString *product_type;
@property (nonatomic, copy) NSString *product_id;
@property (nonatomic, copy) NSString *strategy_id;
@property (nonatomic, copy) NSString *style;
@property (nonatomic, copy) NSString *tags;
@property (nonatomic, copy) NSString *recommend_type;

@property (nonatomic, copy) NSString *resource_id;

@property (nonatomic, assign) BOOL isReport;

@end


@interface CNFeedReportDataModel : BaseModel
@property (nonatomic, copy) NSDictionary *data;
@property (nonatomic, assign) BOOL eventView;
@property (nonatomic, assign) BOOL eventClick;
@property (nonatomic, copy) NSDictionary *urlParams;
@property (nonatomic, copy) NSDictionary *utm_source;

@end
